<template>
  <div class="top">
    <div>
      <div class="top-title">劳务服务</div>
      <div class="top-description">为企业解决临时用工需求，降低人力成本</div>
      <el-button class="top-consult-btn">立即咨询</el-button>
    </div>
  </div>
  <div class="item-common">
    <div class="title-cn">我们的服务</div>
    <div class="title-en">OUR SERVICES</div>
    <el-row type="flex" :gutter="21">
      <el-col :span="6" v-for="(item, index) in servicesData" :key="index">
        <services-list :item="item"></services-list>
      </el-col>
    </el-row>
  </div>
  <div class="item-common">
    <div class="title-cn">我们的优势</div>
    <div class="title-en">OUR ADVANTAGES</div>
    <div class="advantages-bg">
      <div class="advantages-content">
        <div class="content-top">
          <div class="top-sub-title">
            <div class="sub-title-main left">资源优势</div>
            <div class="sub-title-description left">拥有钢结构行业大量的资源渠道<br>并有自身的制造工厂的评估机制<br>保证猎聘人才的质量与有效性</div>
          </div>
          <el-image class="advantages-image" :src="`${imgUrl}labour-advantage.png`"></el-image>
          <div class="top-sub-title">
            <div class="sub-title-main">服务优势</div>
            <div class="sub-title-description">我们的服务遍布全国各地<br>可接受任何地区服务</div>
          </div>
        </div>
        <div class="content-bottom">
          <div class="bottom-sub-title">
            <div class="sub-title-main left">平台优势</div>
            <div class="sub-title-description left">拥有强大的商城平台，以及询盘和ERP管理系统<br>能高效保障企业的人员需求，以及业务需求</div>
          </div>
          <div class="bottom-sub-title">
            <div class="sub-title-main">团队优势</div>
            <div class="sub-title-description">拥有一支钢结构从业30年的专业顾问团队<br>均为生产制造及安装行业从事多年管理经验人员<br>更懂得业务，能快速的解决企业需求</div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="item-common">
    <div class="title-cn">流程服务</div>
    <div class="title-en">PROCESS SERVICES</div>
    <div class="process-container">
      <process-list v-for="(item, index) in processData" :key="index" :item="item"></process-list>
    </div>
  </div>
</template>

<style scoped lang="scss">
.top {
  width: 100%;
  height: 600px;
  background: url("https://gggj-fe.oss-cn-hangzhou.aliyuncs.com/steel-mall/labour-banner.png");
  no-repea: 100%;
  background-size: cover;
  display: flex;
  align-items: center;
  > div {
    color: white;
    margin-left: 320px;
  }
}
.top-title {
  font-weight: bold;
  font-size: 60px;
  color: #FFFFFF;
  line-height: 70px;
}
.top-description {
  font-size: 30px;
  color: #FFFFFF;
  line-height: 32px;
  margin-top: 24px;
  margin-bottom: 48px;
}
.top-consult-btn {
  width: 180px;
  height: 52px;
  background: #1678FF;
  border-radius: 3px;
  border-color: #1678FF;
  margin-top: 35px;
  font-size: 20px;
  color: white;
  line-height: 21px;
}
.item-common {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  .list-container {
    display: flex;
  }
}
.title-cn {
  margin-top: 100px;
  font-weight: 600;
  font-size: 36px;
  color: #172B4D;
  line-height: 42px;
}
.title-en {
  margin-top: 13px;
  margin-bottom: 40px;
  font-size: 18px;
  color: #7A869A;
  line-height: 21px;
}
.advantages-bg {
  width: 100%;
  height: 610px;
  background-color: #F2F8FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  .advantages-content {
    margin-top: 70px;
  }
  .content-top {
    display: flex;
    justify-content: center;
  }
  .content-bottom {
    margin-top: 4px;
    display: flex;
    justify-content: center;
  }
  .advantages-image {
    width: 662px;
    height: 348px;
  }
  .top-sub-title {
    margin-top: 82px;
  }
  .top-sub-title+.advantages-image {
    margin-left: 16px;
  }
  .advantages-image+.top-sub-title {
    margin-left: 16px;
  }
  .sub-title-main {
    font-weight: 600;
    font-size: 24px;
    color: #1678FF;
    line-height: 28px;
  }
  .sub-title-description {
    margin-top: 12px;
    font-size: 16px;
    color: #7A869A;
    line-height: 24px;
  }
  .left {
    text-align: right;
  }
  .bottom-sub-title+.bottom-sub-title {
    margin-left: 252px;
  }
}
.process-container {
  display: flex;
  margin-top: 10px;
  margin-bottom: 100px;
}
</style>

<script setup lang="ts">
import {imgUrl} from "@/utils/common";
import {servicesData, processData} from "./constants";
import servicesList from "./componments/services-list.vue"
import processList from "./componments/process-list.vue"
</script>